\hypertarget{classcom_1_1spider_1_1jspiderlibrary2_1_1_spider_1_1_parser}{\section{com.\-spider.\-jspiderlibrary2.\-Spider.\-Parser \-Class \-Reference}
\label{classcom_1_1spider_1_1jspiderlibrary2_1_1_spider_1_1_parser}\index{com.\-spider.\-jspiderlibrary2.\-Spider.\-Parser@{com.\-spider.\-jspiderlibrary2.\-Spider.\-Parser}}
}
\subsection*{\-Public \-Member \-Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{classcom_1_1spider_1_1jspiderlibrary2_1_1_spider_1_1_parser_a72ae3a543c9a4538a39e552b7118bd6d}{\-Parser} (\-U\-R\-L \hyperlink{classcom_1_1spider_1_1jspiderlibrary2_1_1_spider_1_1_parser_aaac5fcd0aa0bdd67e4c6842d2657231d}{base})
\item 
void \hyperlink{classcom_1_1spider_1_1jspiderlibrary2_1_1_spider_1_1_parser_a04eb14f6a2105866c962a0b1bdc9c568}{tag\-Handler} (\-H\-T\-M\-L.\-Tag tag)
\item 
void \hyperlink{classcom_1_1spider_1_1jspiderlibrary2_1_1_spider_1_1_parser_ae14a442ac7232170e7db1e8f872d6f8a}{handle\-Simple\-Tag} (\-H\-T\-M\-L.\-Tag tag, \-Mutable\-Attribute\-Set atribute\-Set, int pos)
\item 
void \hyperlink{classcom_1_1spider_1_1jspiderlibrary2_1_1_spider_1_1_parser_a1a351dca2ed508a436546687e782d329}{handle\-Start\-Tag} (\-H\-T\-M\-L.\-Tag t, \-Mutable\-Attribute\-Set a, int pos)
\item 
void \hyperlink{classcom_1_1spider_1_1jspiderlibrary2_1_1_spider_1_1_parser_a293631e270d69e91a29de14c980bc9c8}{handle\-Text} (char\mbox{[}$\,$\mbox{]} data, int pos)
\end{DoxyCompactItemize}
\subsection*{\-Protected \-Member \-Functions}
\begin{DoxyCompactItemize}
\item 
void \hyperlink{classcom_1_1spider_1_1jspiderlibrary2_1_1_spider_1_1_parser_aa7bd808ea40da16b1e666113db1b1616}{handle\-Link} (\-U\-R\-L \hyperlink{classcom_1_1spider_1_1jspiderlibrary2_1_1_spider_1_1_parser_aaac5fcd0aa0bdd67e4c6842d2657231d}{base}, \-String str)
\end{DoxyCompactItemize}
\subsection*{\-Protected \-Attributes}
\begin{DoxyCompactItemize}
\item 
\-U\-R\-L \hyperlink{classcom_1_1spider_1_1jspiderlibrary2_1_1_spider_1_1_parser_aaac5fcd0aa0bdd67e4c6842d2657231d}{base}
\end{DoxyCompactItemize}


\subsection{\-Detailed \-Description}
\-Creo un parser de \-H\-T\-M\-L en funcion de la clase \-H\-T\-M\-L editor empleada para parsear y detectar los links 

\-Definition at line 253 of file \-Spider.\-java.



\subsection{\-Constructor \& \-Destructor \-Documentation}
\hypertarget{classcom_1_1spider_1_1jspiderlibrary2_1_1_spider_1_1_parser_a72ae3a543c9a4538a39e552b7118bd6d}{\index{com\-::spider\-::jspiderlibrary2\-::\-Spider\-::\-Parser@{com\-::spider\-::jspiderlibrary2\-::\-Spider\-::\-Parser}!\-Parser@{\-Parser}}
\index{\-Parser@{\-Parser}!com::spider::jspiderlibrary2::Spider::Parser@{com\-::spider\-::jspiderlibrary2\-::\-Spider\-::\-Parser}}
\subsubsection[{\-Parser}]{\setlength{\rightskip}{0pt plus 5cm}{\bf com.\-spider.\-jspiderlibrary2.\-Spider.\-Parser.\-Parser} (
\begin{DoxyParamCaption}
\item[{\-U\-R\-L}]{base}
\end{DoxyParamCaption}
)}}\label{classcom_1_1spider_1_1jspiderlibrary2_1_1_spider_1_1_parser_a72ae3a543c9a4538a39e552b7118bd6d}


\-Definition at line 261 of file \-Spider.\-java.



\-References com.\-spider.\-jspiderlibrary2.\-Spider.\-Parser.\-base.



\subsection{\-Member \-Function \-Documentation}
\hypertarget{classcom_1_1spider_1_1jspiderlibrary2_1_1_spider_1_1_parser_aa7bd808ea40da16b1e666113db1b1616}{\index{com\-::spider\-::jspiderlibrary2\-::\-Spider\-::\-Parser@{com\-::spider\-::jspiderlibrary2\-::\-Spider\-::\-Parser}!handle\-Link@{handle\-Link}}
\index{handle\-Link@{handle\-Link}!com::spider::jspiderlibrary2::Spider::Parser@{com\-::spider\-::jspiderlibrary2\-::\-Spider\-::\-Parser}}
\subsubsection[{handle\-Link}]{\setlength{\rightskip}{0pt plus 5cm}void {\bf com.\-spider.\-jspiderlibrary2.\-Spider.\-Parser.\-handle\-Link} (
\begin{DoxyParamCaption}
\item[{\-U\-R\-L}]{base, }
\item[{\-String}]{str}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}protected\mbox{]}}}}\label{classcom_1_1spider_1_1jspiderlibrary2_1_1_spider_1_1_parser_aa7bd808ea40da16b1e666113db1b1616}

\begin{DoxyParams}{\-Parameters}
{\em base} & \\
\hline
{\em str} & \\
\hline
\end{DoxyParams}


\-Definition at line 397 of file \-Spider.\-java.



\-References com.\-spider.\-jspiderlibrary2.\-Spider.\-add\-U\-R\-L(), com.\-spider.\-jspiderlibrary2.\-Spider.\-log(), com.\-spider.\-jspiderlibrary2.\-Spider.\-report, and com.\-spider.\-jspiderlibrary2.\-I\-Spider\-Reportable.\-spider\-Found\-U\-R\-L().



\-Referenced by com.\-spider.\-jspiderlibrary2.\-Spider.\-Parser.\-handle\-Simple\-Tag().

\hypertarget{classcom_1_1spider_1_1jspiderlibrary2_1_1_spider_1_1_parser_ae14a442ac7232170e7db1e8f872d6f8a}{\index{com\-::spider\-::jspiderlibrary2\-::\-Spider\-::\-Parser@{com\-::spider\-::jspiderlibrary2\-::\-Spider\-::\-Parser}!handle\-Simple\-Tag@{handle\-Simple\-Tag}}
\index{handle\-Simple\-Tag@{handle\-Simple\-Tag}!com::spider::jspiderlibrary2::Spider::Parser@{com\-::spider\-::jspiderlibrary2\-::\-Spider\-::\-Parser}}
\subsubsection[{handle\-Simple\-Tag}]{\setlength{\rightskip}{0pt plus 5cm}void {\bf com.\-spider.\-jspiderlibrary2.\-Spider.\-Parser.\-handle\-Simple\-Tag} (
\begin{DoxyParamCaption}
\item[{\-H\-T\-M\-L.\-Tag}]{tag, }
\item[{\-Mutable\-Attribute\-Set}]{atribute\-Set, }
\item[{int}]{pos}
\end{DoxyParamCaption}
)}}\label{classcom_1_1spider_1_1jspiderlibrary2_1_1_spider_1_1_parser_ae14a442ac7232170e7db1e8f872d6f8a}


\-Definition at line 295 of file \-Spider.\-java.



\-References com.\-spider.\-jspiderlibrary2.\-Spider.\-Parser.\-base, com.\-spider.\-jspiderlibrary2.\-Spider.\-Parser.\-handle\-Link(), and com.\-spider.\-jspiderlibrary2.\-Spider.\-Parser.\-tag\-Handler().



\-Referenced by com.\-spider.\-jspiderlibrary2.\-Spider.\-Parser.\-handle\-Start\-Tag().

\hypertarget{classcom_1_1spider_1_1jspiderlibrary2_1_1_spider_1_1_parser_a1a351dca2ed508a436546687e782d329}{\index{com\-::spider\-::jspiderlibrary2\-::\-Spider\-::\-Parser@{com\-::spider\-::jspiderlibrary2\-::\-Spider\-::\-Parser}!handle\-Start\-Tag@{handle\-Start\-Tag}}
\index{handle\-Start\-Tag@{handle\-Start\-Tag}!com::spider::jspiderlibrary2::Spider::Parser@{com\-::spider\-::jspiderlibrary2\-::\-Spider\-::\-Parser}}
\subsubsection[{handle\-Start\-Tag}]{\setlength{\rightskip}{0pt plus 5cm}void {\bf com.\-spider.\-jspiderlibrary2.\-Spider.\-Parser.\-handle\-Start\-Tag} (
\begin{DoxyParamCaption}
\item[{\-H\-T\-M\-L.\-Tag}]{t, }
\item[{\-Mutable\-Attribute\-Set}]{a, }
\item[{int}]{pos}
\end{DoxyParamCaption}
)}}\label{classcom_1_1spider_1_1jspiderlibrary2_1_1_spider_1_1_parser_a1a351dca2ed508a436546687e782d329}


\-Definition at line 357 of file \-Spider.\-java.



\-References com.\-spider.\-jspiderlibrary2.\-Spider.\-Parser.\-handle\-Simple\-Tag().

\hypertarget{classcom_1_1spider_1_1jspiderlibrary2_1_1_spider_1_1_parser_a293631e270d69e91a29de14c980bc9c8}{\index{com\-::spider\-::jspiderlibrary2\-::\-Spider\-::\-Parser@{com\-::spider\-::jspiderlibrary2\-::\-Spider\-::\-Parser}!handle\-Text@{handle\-Text}}
\index{handle\-Text@{handle\-Text}!com::spider::jspiderlibrary2::Spider::Parser@{com\-::spider\-::jspiderlibrary2\-::\-Spider\-::\-Parser}}
\subsubsection[{handle\-Text}]{\setlength{\rightskip}{0pt plus 5cm}void {\bf com.\-spider.\-jspiderlibrary2.\-Spider.\-Parser.\-handle\-Text} (
\begin{DoxyParamCaption}
\item[{char\mbox{[}$\,$\mbox{]}}]{data, }
\item[{int}]{pos}
\end{DoxyParamCaption}
)}}\label{classcom_1_1spider_1_1jspiderlibrary2_1_1_spider_1_1_parser_a293631e270d69e91a29de14c980bc9c8}

\begin{DoxyParams}{\-Parameters}
{\em data} & gots the tag text \\
\hline
{\em pos} & \\
\hline
\end{DoxyParams}


\-Definition at line 368 of file \-Spider.\-java.

\hypertarget{classcom_1_1spider_1_1jspiderlibrary2_1_1_spider_1_1_parser_a04eb14f6a2105866c962a0b1bdc9c568}{\index{com\-::spider\-::jspiderlibrary2\-::\-Spider\-::\-Parser@{com\-::spider\-::jspiderlibrary2\-::\-Spider\-::\-Parser}!tag\-Handler@{tag\-Handler}}
\index{tag\-Handler@{tag\-Handler}!com::spider::jspiderlibrary2::Spider::Parser@{com\-::spider\-::jspiderlibrary2\-::\-Spider\-::\-Parser}}
\subsubsection[{tag\-Handler}]{\setlength{\rightskip}{0pt plus 5cm}void {\bf com.\-spider.\-jspiderlibrary2.\-Spider.\-Parser.\-tag\-Handler} (
\begin{DoxyParamCaption}
\item[{\-H\-T\-M\-L.\-Tag}]{tag}
\end{DoxyParamCaption}
)}}\label{classcom_1_1spider_1_1jspiderlibrary2_1_1_spider_1_1_parser_a04eb14f6a2105866c962a0b1bdc9c568}
\-Verifico si existen tags indeseados, es decir tags que no deben tener texto comparo el tag actual con el tag indeseado, con eso seteo el flag para notificarle al handle\-Text que el tag \-N\-O debe ser procesado 
\begin{DoxyParams}{\-Parameters}
{\em tag} & a \-H\-T\-M\-L.\-Tag \\
\hline
\end{DoxyParams}


\-Definition at line 272 of file \-Spider.\-java.



\-Referenced by com.\-spider.\-jspiderlibrary2.\-Spider.\-Parser.\-handle\-Simple\-Tag().



\subsection{\-Member \-Data \-Documentation}
\hypertarget{classcom_1_1spider_1_1jspiderlibrary2_1_1_spider_1_1_parser_aaac5fcd0aa0bdd67e4c6842d2657231d}{\index{com\-::spider\-::jspiderlibrary2\-::\-Spider\-::\-Parser@{com\-::spider\-::jspiderlibrary2\-::\-Spider\-::\-Parser}!base@{base}}
\index{base@{base}!com::spider::jspiderlibrary2::Spider::Parser@{com\-::spider\-::jspiderlibrary2\-::\-Spider\-::\-Parser}}
\subsubsection[{base}]{\setlength{\rightskip}{0pt plus 5cm}\-U\-R\-L {\bf com.\-spider.\-jspiderlibrary2.\-Spider.\-Parser.\-base}\hspace{0.3cm}{\ttfamily  \mbox{[}protected\mbox{]}}}}\label{classcom_1_1spider_1_1jspiderlibrary2_1_1_spider_1_1_parser_aaac5fcd0aa0bdd67e4c6842d2657231d}


\-Definition at line 257 of file \-Spider.\-java.



\-Referenced by com.\-spider.\-jspiderlibrary2.\-Spider.\-Parser.\-handle\-Simple\-Tag(), and com.\-spider.\-jspiderlibrary2.\-Spider.\-Parser.\-Parser().



\-The documentation for this class was generated from the following file\-:\begin{DoxyCompactItemize}
\item 
src/main/java/com/spider/jspiderlibrary2/\hyperlink{_spider_8java}{\-Spider.\-java}\end{DoxyCompactItemize}
